import { ethers } from "hardhat";

async function main() {

  //const initialSupply = ethers.utils.parseEther('10000.0')

  const [deployer] = await ethers.getSigners();
  console.log(`contract is deployed by account:${deployer.address}`);

  const ClassToken = await ethers.getContractFactory("CoffeeSeller")
  const token = await ClassToken.deploy()
  await token.deployed()

  console.log("coffee deployed to:", token.address)
}

main().catch((error) => {
  console.error(error)
  process.exitCode = 1
})
